package com.antexpress.dao;

import com.antexpress.pojo.MapCity;
import com.antexpress.pojo.MapDistrict;
import com.antexpress.pojo.MapProvince;
import com.antexpress.pojo.MapTown;
import java.util.ArrayList;

public interface AreaDAO {
    ArrayList<MapProvince> getAllProvince();
    boolean addProvince(ArrayList<MapProvince> provinceList);
    ArrayList<MapCity> getCityByProvice(MapProvince provice);
    boolean addCity(ArrayList<MapCity> cityList);
    ArrayList<MapDistrict> getDistrictByCity(MapCity city);
    boolean addDistrict(ArrayList<MapDistrict> districtList);
    ArrayList<MapTown> getTownByDistrict(MapDistrict district);
    boolean addTown(ArrayList<MapTown> townList);
    MapProvince getProvinceById(String id);
    MapCity getCityById(String id);
    MapDistrict getDistrictById(String id);
    MapTown getTownById(String id);
}
